export default [
    {
        name: 'addDepartment',
        module: 'personnel',
        url: '/department/add',
        method: 'post',
        des: '添加部门'
    },
    {
        name: 'editDepartment',
        module: 'personnel',
        url: '/department/update',
        method: 'post',
        des: '编辑部门'
    },
    {
        name: 'deleteDepartment',
        module: 'personnel',
        url: '/department/delete',
        method: 'post',
        des: '删除部门'
    },
    {
        name: 'getTree',
        module: 'personnel',
        url: '/department/tree',
        method: 'get',
        des: '获取部门'
    },
    {
        name: 'getTable',
        module: 'personnel',
        url: '/user/listByDepartment',
        method: 'get',
        des: '获取部门人员'
    },
    {
        name: 'deletePerson',
        module: 'personnel',
        url: '/user/delete',
        method: 'post',
        des: '删除人员'
    },
    {
        name: 'addPerson',
        module: 'personnel',
        url: '/user/save',
        method: 'post',
        des: '添加人员'
    },
    {
        name: 'updatePerson',
        module: 'personnel',
        url: '/user/update',
        method: 'post',
        des: '编辑人员'
    },
    {
        name: 'updateState',
        module: 'personnel',
        url: '/user/modify/status',
        method: 'get',
        des: '人员冻结/解冻'
    },
    {
        name: 'reset/password',
        module: 'personnel',
        url: '/user/password/reset',
        method: 'post',
        des: '重置密码'
    }
]
